<div id="content">
	
	<!--第一部分-->
	<div class="content-box">
		<!--边栏开始-->
		<div class="side-bar">
			<div class="block">
				<h2>最新收录</h2>
				<ul>
				<?php foreach($line1_1 as $b) { ?>
					<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
				<?php } ?>
				</ul>
			</div>

			<div class="block">
				<h2>热门排行</h2>
				<ul> 
				<?php foreach($line2_1 as $b) { ?>
					<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
				<?php } ?>
				</ul>
			</div>
		</div>
		<!--边栏结束-->

		<!--分类开始-->
		<div class="main">

			<!--第一行-->
			<div class="content-box">
				<div class="block">
					<h2>先秦哲学<a class="more" title="" href="<?php creat_url('c=category');?>">more...</a></h2>
					<ul>
					<?php foreach($line1_2 as $b) { ?>
						<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
					<?php } ?>
					</ul>
				</div>

				<div class="block">
					<h2>古典小说<a class="more" title="" href="<?php creat_url('c=category');?>">more...</a></h2>
					<ul> 
					<?php foreach($line1_3 as $b) { ?>
						<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
					<?php } ?>
					</ul>
				</div>

				<div class="block">
					<h2>中国诗词<a class="more" title="" href="<?php creat_url('c=category');?>">more...</a></h2>
					<ul> 
					<?php foreach($line1_4 as $b) { ?>
						<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
					<?php } ?>
					</ul>
				</div>
			</div><!--第一行结束-->

			<!--第二行-->
			<div class="content-box">
			<div class="block">
				<h2>西方哲学<a class="more" title="" href="<?php creat_url('c=category');?>">more...</a></h2>
				<ul>
					<?php foreach($line2_2 as $b) { ?>
						<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
					<?php } ?>
				</ul>
			</div>

			<div class="block">
				<h2>外国小说<a class="more" title="" href="<?php creat_url('c=category');?>">more...</a></h2>
				<ul> 
					<?php foreach($line2_3 as $b) { ?>
						<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
					<?php } ?>
				</ul>
			</div>

			<div class="block">
				<h2>历史地理<a class="more" title="" href="<?php creat_url('c=category');?>">more...</a></h2>
				<ul> 
					<?php foreach($line2_4 as $b) { ?>
						<li><a title="<?php echo $b['book_name']?>" href="<?php creat_url('c=book&bid='.$b['book_id']);?>"><?php echo $b['book_name']?></a></li>
					<?php } ?>
				</ul>
			</div>
			</div><!--第二行结束-->

		</div><!--分类结束-->

	</div><!--第一部分结束-->

	<div class="content-box">
		<div class="ads-bar"></div>
	</div>
	
	
</div>